<template>
	<div class="hello_phone clearfix">
		<div class="resetphone_title clearfix">
			<span @click="goBack" class="left">返回</span>
			<div>修改手机号</div>
		</div>
		<div class="phone_notice">
			<div>更换手机号后。下次登入您可以使用新手机号登入。</div>
			<div>当前手机号为13723921384</div>
		</div>
		<div class="phone">
			<label for="">手机号</label>
			<input type="text" placeholder="13723921384"/>
		</div>
		<div class="code">
			<label for="">验证码</label>
			<input type="text" />
			<button class="getcode">获取验证码</button>
		</div>
		<div class="right timer"><span>50</span>秒重新获取</div>
		<button class="sure_btn">确定</button>
	</div>
</template>

<script>
	export default{
		methods:{
			goBack:function(){
				this.$router.push({path:'/myapp'})
			}
		}
	}
</script>

<style>
	html,body{
		font-size: 0.3rem;
		margin: 0;
		padding: 0;
	}
.clearfix:after{
	clear: both;
	content:'' ;
	display: block;	
}
.left{
	float:left
}
.right{
	float:right
}
	.resetphone_title{
		background: #4682B4;
		font-size: 0.3rem;
		color: #fff;
		padding: 20px 0 20px 10px;
		
	}
	.resetphone_title>div{
		text-align: center;
	}
	.phone_notice{
		padding: 20px;
		font-size: 0.25rem;
		background: #f2f2f2;
	}
	.code{
		position: relative;
	}
	.getcode{
		position: absolute;
		top: 5px;
		right: 10px;
	}
	.phone,.code{
		border-bottom: 1px solid #ccc;
		padding-left: 15px;
	}
	.phone>input,.code>input{
		padding: 15px;
		border: none;
	}
	button{
		background: #00BFFF;
		border: 1px solid #00BFFF;
		padding: 10px 20px;
		color: #fff;
		border-radius:5px ;
	}
	.timer{
		padding: 20px;
	}
	.sure_btn{
		width: 90%;
		padding: 20px;
		margin: 10px 5%;
		background: #00BFFF;
		border: 1px solid #00BFFF;
		border-radius: 5px;
	}
</style>